
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ page import="java.util.Iterator,
                 com.scalar.chiptrack.utils.ConfigManager, 
                 com.scalar.chiptrack.operations.packingslip.dao.LotQtyPullAuditDAO,
                 com.scalar.chiptrack.operations.packingslip.LotQtyPullAudit,
                 com.scalar.chiptrack.operations.packingslip.LotQtyPullAuditList"%>

<%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %>
<%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %>
<%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic" %>
<%@ taglib uri="/WEB-INF/chiptrack-tags.tld" prefix="chiptrack" %>

<%String chipTracContext = "/" + ConfigManager.getChipTracContext();%>

<META http-equiv=Content-Type content="text/html; charset=windows-1252">
<LINK href="<%=chipTracContext%>/jsp/includes/stylesheets/scalarsoft.css" type="text/css" rel="stylesheet">
<table bgcolor='FDF5E6' border="0" width="98%" align=center cellpadding='4'>
	<tr><td colspan='20' bgcolor="#993333" align='center'><font class='NArialW'><font color='#FFFFFF'>Water Fall Chart </font></font></td></tr>
    <tr><td colspan='20'><img height=5 src="<%=chipTracContext%>/jsp/includes/images/spacer.gif"></td></tr>
    <tr><td colspan='3'><font class="NArialL" >Customer Name:</font></td><td colspan='5'><font class="NArialL"><bean:write name="Customer" scope="request"/></font></td></tr>
	<tr><td colspan='3'><font class="NArialL" >Part Number:</font></td><td colspan='5'><font class="NArialL"><bean:write name="Part_Number" scope="request"/></font></td></tr>
    <tr><td colspan='20'><img height=5 src="<%=chipTracContext%>/jsp/includes/images/spacer.gif"></td></tr>
    <tr>
        <td colspan='2'><font class="NArialL" ></font></td>
        <logic:iterate id="monthheading" name="monthsHeadings" type="java.lang.String" scope="request">
            <td nowrap align=center bgcolor="#999CCC"><font class="NArialL" ><bean:write name="monthheading"/></font></td>
        </logic:iterate>
    </tr>
	<logic:iterate name="WaterFallList" type= "com.scalar.forecast.forecastReports.WaterFallChart" id="waterFallChart" scope="request">
		<logic:equal  name="waterFallChart" property="label" value="Last Forecast">
			<tr><td colspan="20">----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------</td></tr>
			<tr bgcolor="yellow">	
		</logic:equal>	
		<logic:equal  name="waterFallChart" property="label" value="Actual Shipments">
			<tr bgcolor="cyan">
		</logic:equal>
		<logic:equal  name="waterFallChart" property="label" value="Actual Backlog">
			<tr bgcolor="lightblue">
		</logic:equal>
		<logic:equal  name="waterFallChart" property="label" value="Forecast VS Backlog">
			<tr bgcolor="lightgreen">
		</logic:equal>

			<td bgcolor="#999CCC" colspan='2'><font class="NArialL" ><bean:write name="waterFallChart" property="label"/></font></td>
			<td><font class="NArialL" ><bean:write name="waterFallChart" property="month1Qty"/></font></td>
			<td><font class="NArialL" ><bean:write name="waterFallChart" property="month2Qty"/></font></td>
			<td><font class="NArialL" ><bean:write name="waterFallChart" property="month3Qty"/></font></td>
			<td><font class="NArialL" ><bean:write name="waterFallChart" property="month4Qty"/></font></td>
			<td><font class="NArialL" ><bean:write name="waterFallChart" property="month5Qty"/></font></td>
			<td><font class="NArialL" ><bean:write name="waterFallChart" property="month6Qty"/></font></td>
			<td><font class="NArialL" ><bean:write name="waterFallChart" property="month7Qty"/></font></td>
			<td><font class="NArialL" ><bean:write name="waterFallChart" property="month8Qty"/></font></td>
			<td><font class="NArialL" ><bean:write name="waterFallChart" property="month9Qty"/></font></td>
			<td><font class="NArialL" ><bean:write name="waterFallChart" property="month10Qty"/></font></td>
			<td><font class="NArialL" ><bean:write name="waterFallChart" property="month11Qty"/></font></td>
			<td><font class="NArialL" ><bean:write name="waterFallChart" property="month12Qty"/></font></td>
			<td><font class="NArialL" ><bean:write name="waterFallChart" property="month13Qty"/></font></td>
			<td><font class="NArialL" ><bean:write name="waterFallChart" property="month14Qty"/></font></td>
			<td><font class="NArialL" ><bean:write name="waterFallChart" property="month15Qty"/></font></td>
			<td><font class="NArialL" ><bean:write name="waterFallChart" property="month16Qty"/></font></td>
			<td><font class="NArialL" ><bean:write name="waterFallChart" property="month17Qty"/></font></td>
			<td><font class="NArialL" ><bean:write name="waterFallChart" property="month18Qty"/></font></td>
		</tr>
	</logic:iterate>
</table>




